Description
New page (key '6' or next available) in tui/dashboard.py dedicated to Apple Music. Calls existing 'am' shell functions via subprocess (same pattern as kk captured commands).
Panels:
- Now playing: track, artist, album, elapsed/duration progress bar (poll 'am now' every 5s)
- Controls row: keybindings for play/pause (space), next (n), prev (p), vol up/down (+/-)
- Sparkline or ASCII progress bar showing position in track
- Queue/recent: 'am queue' or similar if available; fall back to recently played
Refresh: 5s interval for now-playing only (faster than the 30s global refresh). Controls dispatch immediately via subprocess without waiting for the refresh cycle.
Reference: KK_CAPTURED and KK_INPUT entries for 'am play', 'am pause', 'am next', 'am prev', 'am now', 'am vol', 'am search', 'am playlist' in tui/dashboard.py โ reuse those subprocess patterns.